#include "MsgMatchResponse.h"
#include "BasicTypes.h"

using namespace std;

string MsgMatchResponse::Message() const
{
	unsigned int header = (unsigned int)MT_MATCH_RESPONSE;
	header += 256;
	string message( (char *)&header, 4 );
	unsigned char res = m_result ? 1 : 0;
	message += res;
	return message;
}